package com.cloud.bssp.monitor.dto;

import com.cloud.bssp.util.BaseDTO;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * Description: druid监控
 * Create Date: 2021-03-30T14:06:36.337
 * Modified By：<br>
 * Modified Date：<br>
 * Why & What is modified：<br>
 *
 * @author weirx
 * @version 1.0
 */
@Data
@ApiModel(value = "DruidMonitorDTO", description = "数据传输对象DruidMonitorDTO")
public class DruidMonitorDTO extends BaseDTO {

    /**
     * 服务名称
     */
    @ApiModelProperty(notes = "服务名称")
    private String serviceName;

    /**
     * 服务ip
     */
    @ApiModelProperty(notes = "服务ip")
    private String ip;

    /**
     * 服务端口
     */
    @ApiModelProperty(notes = "服务端口")
    private String port;

    /**
     * 权重
     */
    @ApiModelProperty(notes = "权重")
    private Integer weight;

    /**
     * 监控地址
     */
    @ApiModelProperty(notes = "监控地址")
    private String monitorUrl;

}
